package cn.edu.sig.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * Goods entity. @author MyEclipse Persistence Tools
 */

public class Goods implements java.io.Serializable {

	// Fields

	private Integer goodsId;
	private Style style;
	private User user;
	private String goodsName;
	private Short status;
	private Float price;
	private Integer account;
	private String content;
	private Date createTime;
	private Date publicTime;
	private String changeType;
	
	private String fineness;
	private List<Image> images = new ArrayList<Image>();
	private Message messages = new Message();

	// Constructors

	/** default constructor */
	public Goods() {
	}

	/** full constructor */
	public Goods(Style style, User user, String goodsName, Short status,
			Float price, Integer account, String fineness,String content, Date createTime,
			Date publicTime, String changeType,List<Image> images, Message messages) {
		this.style = style;
		this.user = user;
		this.goodsName = goodsName;
		this.status = status;
		this.price = price;
		this.account = account;
		this.content = content;
		this.createTime = createTime;
		this.publicTime = publicTime;
		this.changeType = changeType;
		this.fineness = fineness;
		this.images = images;
		this.messages = messages;
	}

	// Property accessors

	public Integer getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public Style getStyle() {
		return this.style;
	}

	public void setStyle(Style style) {
		this.style = style;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public Short getStatus() {
		return this.status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Integer getAccount() {
		return this.account;
	}

	public void setAccount(Integer account) {
		this.account = account;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getPublicTime() {
		return this.publicTime;
	}

	public void setPublicTime(Date publicTime) {
		this.publicTime = publicTime;
	}



	public String getChangeType() {
		return changeType;
	}

	public void setChangeType(String changeType) {
		this.changeType = changeType;
	}

	public List<Image> getImages() {
		return images;
	}

	public void setImages(List<Image> images) {
		this.images = images;
	}

	public Message getMessages() {
		return this.messages;
	}

	public void setMessages(Message messages) {
		this.messages = messages;
	}

	public String getFineness() {
		return fineness;
	}

	public void setFineness(String fineness) {
		this.fineness = fineness;
	}

	
}